﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPAScoringPerformanceTester. Models
{
    public delegate void RobotAddedEventHandler(object sender, RobotAddedEventArgs args);

    public class RobotAddedEventArgs
    {
        public List<Robot> NewRobots { get; set; }

        public RobotAddedEventArgs(Robot robot)
        {
            if (this.NewRobots == null) this.NewRobots = new List<Robot>();
            this.NewRobots.Add(robot);
        }

        public RobotAddedEventArgs(List<Robot> robots)
        {
            this.NewRobots = robots;
        }
    }
}
